﻿using System;

namespace GDM.Hogar.Controles.ControlesPersonalizados.Grilla
{
    public interface ISupportPaging : ISupportColumnConfiguration
    {
        Action CleanUp { get; set; }

        bool Configured { get; set; }

        int CurrentPage { get; set; }

        object DataSource { get; set; }

        Action EndConfigure { get; set; }

        Action OnGotoFirst { get; set; }

        Action OnGotoLast { get; set; }

        Action OnGotoNext { get; set; }

        Action OnGotoPrev { get; set; }

        Action OnPageChange { get; set; }

        int PageSize { get; set; }

        Func<int> TotalPages { get; set; }

        Func<int> TotalRecords { get; set; }
    }
}